package com.online.teaching.module.common.blog.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName : BlogGetVO  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-04 19:26  //时间
 */
@Data
public class BlogGetVO {

    @ApiModelProperty(value = "博客id")
    private Integer blogId;

    @ApiModelProperty(value = "博客标题")
    private String blogTitle;

    @ApiModelProperty(value = "发布时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "回复数量")
    private Integer commentNum;

    @ApiModelProperty(value = "提交者名字,避免多表查询")
    private String publisherName;

    @ApiModelProperty(value = "0未认证，1为学生，2为老师，3为教务员，4为管理员")
    private Integer publisherType;

}
